<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        function CreatePerson( name,age,sex) {
            this.name = name;
            this.age = age;
            this.sex = sex;
        }
        var person = new CreatePerson('zs',15,'男');
        console.log(person)
    </script>
</head>
<body>

</body>
</html>